package com.zhkj.txg.module.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zhkj.txg.R
import com.zhkj.txg.module.home.entity.BannerEntity
import com.zhkj.txg.utils.ImageUtils

class SecondBannerAdapter : BaseQuickAdapter<BannerEntity, BaseViewHolder>(R.layout.item_second_banner) {
    override fun convert(helper: BaseViewHolder, item: BannerEntity) {
        ImageUtils.loadImage(context, helper.getView(R.id.ivBanner), item.image)
    }
}